package cn.jdy.plugins.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

import cn.jdy.common.bo.BaseEntry;

/**
 * @author: luzhirui
 * @title : 采集获取超链接列表实体类
 */
@Entity
public class RobotLinks extends BaseEntry implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
	private String id; //主键
	private String managerid; // 采集点管理编号
	private String title; // 超链接标题
	private String link; // 超链接地址
	@Column(length = 1)
	private String status; //状态 ，0未采集内容 1已采集内容 2内容已发布
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getManagerid() {
		return managerid;
	}
	public void setManagerid(String managerid) {
		this.managerid = managerid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	 
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}
